<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>henu_oj</title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<link rel="stylesheet" href="__ROOT__/source/admin_source/tpl/static/css/bootstrap.min.css" type="text/css" media="all" />
		<link rel="stylesheet" href="__ROOT__/source/admin_source/tpl/static/css/jquery-ui.min.css" type="text/css" media="all" />
		<link rel="stylesheet" href="__ROOT__/source/admin_source/tpl/Admin/common/css/admin.css" type="text/css" />
	</head>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/static/js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/static/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/static/js/jquery.artDialog.js?skin=aero"></script>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/static/js/iframeTools.js"></script>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/static/js/jquery.form.min.js"></script>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/static/js/jquery.validate.min.js"></script>
	<script language="javascript" src="__ROOT__/source/admin_source/tpl/static/js/jquery.imagePreview.js"></script>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/static/js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/static/js/datepicker.js"></script>
	<script type="text/javascript" src="__ROOT__/source/admin_source/tpl/Admin/common/js/common.js"></script>
	<!--Ueditor-->
	<script type="text/javascript" src="__ROOT__/source/Ueditor/ueditor.config.js"></script>
	<script type="text/javascript" src="__ROOT__/source/Ueditor/ueditor.all.js"></script>
	
	<!--Ueditor-->

	<body>
		<!--顶部-->
		<nav class="navbar navbar-inverse">
			<div class="container-fluid">
				<div class="navbar-header">
					<a class="navbar-brand" href="<{:U('article/showlist')}>">henu_oj后台管理</a>
				</div>

				<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav navbar-right">
						<li>
							<a href="http://www.kftxlz.gov.cn" target="_blank"><i class="glyphicon glyphicon-home"></i> 网站首页</a>
						</li>
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="glyphicon glyphicon-user"></i>
								<{$description}>【
									<{$username}>】 <span class="caret"></span></a>
							<ul class="dropdown-menu" role="menu">
								<li>
									<a href="<{:U('Index/loginout')}>">退出</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
				<!-- /.navbar-collapse -->
			</div>
			<!-- /.container-fluid -->
		</nav>
		<!--顶部结束-->

		<div class="container-fluid">
			<div class="row">
				<include file="Admin:leftmenu" />
				<div class="col-md-9">

					<script type="text/javascript">
						$(document).ready(function() {
							$(".preview").preview();
						});
					</script>

					<script type="text/javascript">
						$(document).ready(function() {
							selecttype();
							selectistop();
							selectonindex();
						});

						function selecttype() {
							var sel = document.getElementById("type");
							var issel = '<{$ar.0.type}>';
							sel.selectedIndex = issel - 1;
						}

						function selectistop() {
							var selx = document.getElementById("istop");
							var isselx = '<{$ar.0.istop}>';
							selx.selectedIndex = isselx;
						}

						function selectonindex() {
							var selxx = document.getElementById("onindex");
							var isselxx = '<{$ar.0.onindex}>';
							selxx.selectedIndex = isselxx;
						}
					</script>

					<ol class="breadcrumb">
						<li>
							<a href="<{:U('Article/showlist')}>">电函管理</a>
						</li>
						<li>
							<a href="<{:U('Article/showlist')}>">电函列表</a>
						</li>
						<li class="active">查看电函</li>
					</ol>

					<form action="<{:U('Article/modify_do')}>" method="post" class="form-horizontal form-validata" enctype="multipart/form-data">
						<div class="col-xs-11 col-xs-offset-1">
							<{$content}>
						</div>
						<div class="form-group">
							<div class="col-md-11 col-sm-offset-1">
								<a href="<{:U('Article/showlist')}>" class="btn btn-info">返回电函列表</a>
								<if condition="$is_admin neq 1">
									<a class="btn btn-success" href="<{:U('Article/reply',array('id'=>$id))}>">编辑回复电函</a>
								</if>
							</div>
						</div>
					</form>

					<input type="hidden" id="menu_action" value="article" />
				</div>
			</div>

		</div>

		<script type="text/javascript">
			$(document).ready(function() {
				//幻灯片元素与类“menu_body”段与类“menu_head”时点击
				var menu_action = $("#menu_action").val();
				$("#p_" + menu_action).addClass("select");
				$("#b_" + menu_action).show().addClass("local");

				$("#nav p").click(function() {
					$(this).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
					$("#nav p").removeClass("select");
					$(this).addClass("select");
					$(this).next("div.menu_body").addClass("local");
				});
			});
		</script>

	</body>
</html>